from django.urls import path

from testApp import views

urlpatterns = [
    path('testImg/', views.TestImagesView.as_view({'get': 'list', 'post': 'create', 'delete': 'multiple_destroy'}), name='测试图片'),
    path('testImg/<int:pk>/', views.TestImgPutView.as_view({'put': 'partial_update'}), name='修改测试图片'),
    path('testuser/', views.TestUserTableView.as_view({'get': 'list', 'post': 'create', 'delete': 'multiple_destroy'}), name='测试用户相关'),
    path('testuser/<int:pk>/', views.TestUserTableView.as_view({'put': 'partial_update'}), name='测试用户相关'),

]

